package com.njworkorder.VO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class MeteringInventoryLevelVO {

    private String id;

    @Schema(description = "项目号")
    private String projectNo;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "项目特征")
    private String projectCharacteristic;

    @Schema(description = "作业要求")
    private String jobRequirements;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "数量")
    private BigDecimal amount;

    @Schema(description = "单价（元）")
    private BigDecimal unitPrice;

    @Schema(description = "合价（元）")
    private BigDecimal totalPrice;

    @Schema(description = "项目类型（1巡查、2检查、3技术状况评定,4交安设施，5绿化,6清洁，7其他，8巡查与检查,9路基,10 路面,11桥涵，12交安设施（单价），13相关沿线设施，14绿化（单价），15清洁（单价））")
    private String projectType;

    @Schema(description = "计价类型(1基本总价、2单价计量)")
    private String pricingType;

    @Schema(description = "创建者id")
    private String createApId;

    @Schema(description = "数据状态")
    private String status;

    @Schema(description = "发布时间")
    private Date publishTime;

    @Schema(description = "上级组织主键")
    private String parentId;

    @Schema(description = "病害模块")
    private Integer diseaseModule;

    @Schema(description = "结构名称")
    private String structureName;//id + projectNo + projectName

    @Schema(description = "子集")
    private List<MeteringInventoryLevelVO> subset;
}
